Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions src/Model/AccessPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,34 @@ public function setModifiedDateTime($val)
}


/**
* Gets the accessPackagesIncompatibleWith
*
* @return array|null The accessPackagesIncompatibleWith
*/
public function getAccessPackagesIncompatibleWith()
{
if (array_key_exists("accessPackagesIncompatibleWith", $this->_propDict)) {
return $this->_propDict["accessPackagesIncompatibleWith"];
} else {
return null;
}
}

/**
* Sets the accessPackagesIncompatibleWith
*
* @param AccessPackage[] $val The accessPackagesIncompatibleWith
*
* @return AccessPackage
*/
public function setAccessPackagesIncompatibleWith($val)
{
$this->_propDict["accessPackagesIncompatibleWith"] = $val;
return $this;
}


/**
* Gets the assignmentPolicies
*
Expand Down Expand Up @@ -236,4 +264,60 @@ public function setCatalog($val)
return $this;
}


/**
* Gets the incompatibleAccessPackages
*
* @return array|null The incompatibleAccessPackages
*/
public function getIncompatibleAccessPackages()
{
if (array_key_exists("incompatibleAccessPackages", $this->_propDict)) {
return $this->_propDict["incompatibleAccessPackages"];
} else {
return null;
}
}

/**
* Sets the incompatibleAccessPackages
*
* @param AccessPackage[] $val The incompatibleAccessPackages
*
* @return AccessPackage
*/
public function setIncompatibleAccessPackages($val)
{
$this->_propDict["incompatibleAccessPackages"] = $val;
return $this;
}


/**
* Gets the incompatibleGroups
*
* @return array|null The incompatibleGroups
*/
public function getIncompatibleGroups()
{
if (array_key_exists("incompatibleGroups", $this->_propDict)) {
return $this->_propDict["incompatibleGroups"];
} else {
return null;
}
}

/**
* Sets the incompatibleGroups
*
* @param Group[] $val The incompatibleGroups
*
* @return AccessPackage
*/
public function setIncompatibleGroups($val)
{
$this->_propDict["incompatibleGroups"] = $val;
return $this;
}

}
110 changes: 110 additions & 0 deletions src/Model/AssignedTrainingInfo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AssignedTrainingInfo File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* AssignedTrainingInfo class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AssignedTrainingInfo extends Entity
{
/**
* Gets the assignedUserCount
* Number of users who were assigned the training in an attack simulation and training campaign.
*
* @return int|null The assignedUserCount
*/
public function getAssignedUserCount()
{
if (array_key_exists("assignedUserCount", $this->_propDict)) {
return $this->_propDict["assignedUserCount"];
} else {
return null;
}
}

/**
* Sets the assignedUserCount
* Number of users who were assigned the training in an attack simulation and training campaign.
*
* @param int $val The value of the assignedUserCount
*
* @return AssignedTrainingInfo
*/
public function setAssignedUserCount($val)
{
$this->_propDict["assignedUserCount"] = $val;
return $this;
}
/**
* Gets the completedUserCount
* Number of users who completed the training in an attack simulation and training campaign.
*
* @return int|null The completedUserCount
*/
public function getCompletedUserCount()
{
if (array_key_exists("completedUserCount", $this->_propDict)) {
return $this->_propDict["completedUserCount"];
} else {
return null;
}
}

/**
* Sets the completedUserCount
* Number of users who completed the training in an attack simulation and training campaign.
*
* @param int $val The value of the completedUserCount
*
* @return AssignedTrainingInfo
*/
public function setCompletedUserCount($val)
{
$this->_propDict["completedUserCount"] = $val;
return $this;
}
/**
* Gets the displayName
* Display name of the training in an attack simulation and training campaign.
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}

/**
* Sets the displayName
* Display name of the training in an attack simulation and training campaign.
*
* @param string $val The value of the displayName
*
* @return AssignedTrainingInfo
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
}
87 changes: 87 additions & 0 deletions src/Model/AttackSimulationRepeatOffender.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttackSimulationRepeatOffender File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* AttackSimulationRepeatOffender class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AttackSimulationRepeatOffender extends Entity
{

/**
* Gets the attackSimulationUser
* The user in an attack simulation and training campaign.
*
* @return AttackSimulationUser|null The attackSimulationUser
*/
public function getAttackSimulationUser()
{
if (array_key_exists("attackSimulationUser", $this->_propDict)) {
if (is_a($this->_propDict["attackSimulationUser"], "\Microsoft\Graph\Model\AttackSimulationUser") || is_null($this->_propDict["attackSimulationUser"])) {
return $this->_propDict["attackSimulationUser"];
} else {
$this->_propDict["attackSimulationUser"] = new AttackSimulationUser($this->_propDict["attackSimulationUser"]);
return $this->_propDict["attackSimulationUser"];
}
}
return null;
}

/**
* Sets the attackSimulationUser
* The user in an attack simulation and training campaign.
*
* @param AttackSimulationUser $val The value to assign to the attackSimulationUser
*
* @return AttackSimulationRepeatOffender The AttackSimulationRepeatOffender
*/
public function setAttackSimulationUser($val)
{
$this->_propDict["attackSimulationUser"] = $val;
return $this;
}
/**
* Gets the repeatOffenceCount
* Number of repeat offences of the user in attack simulation and training campaigns.
*
* @return int|null The repeatOffenceCount
*/
public function getRepeatOffenceCount()
{
if (array_key_exists("repeatOffenceCount", $this->_propDict)) {
return $this->_propDict["repeatOffenceCount"];
} else {
return null;
}
}

/**
* Sets the repeatOffenceCount
* Number of repeat offences of the user in attack simulation and training campaigns.
*
* @param int $val The value of the repeatOffenceCount
*
* @return AttackSimulationRepeatOffender
*/
public function setRepeatOffenceCount($val)
{
$this->_propDict["repeatOffenceCount"] = $val;
return $this;
}
}
87 changes: 87 additions & 0 deletions src/Model/AttackSimulationRoot.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AttackSimulationRoot File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;

/**
* AttackSimulationRoot class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AttackSimulationRoot extends Entity
{

/**
* Gets the simulationAutomations
* Represents simulation automation created to run on a tenant.
*
* @return array|null The simulationAutomations
*/
public function getSimulationAutomations()
{
if (array_key_exists("simulationAutomations", $this->_propDict)) {
return $this->_propDict["simulationAutomations"];
} else {
return null;
}
}

/**
* Sets the simulationAutomations
* Represents simulation automation created to run on a tenant.
*
* @param SimulationAutomation[] $val The simulationAutomations
*
* @return AttackSimulationRoot
*/
public function setSimulationAutomations($val)
{
$this->_propDict["simulationAutomations"] = $val;
return $this;
}


/**
* Gets the simulations
* Represents an attack simulation training campaign in a tenant.
*
* @return array|null The simulations
*/
public function getSimulations()
{
if (array_key_exists("simulations", $this->_propDict)) {
return $this->_propDict["simulations"];
} else {
return null;
}
}

/**
* Sets the simulations
* Represents an attack simulation training campaign in a tenant.
*
* @param Simulation[] $val The simulations
*
* @return AttackSimulationRoot
*/
public function setSimulations($val)
{
$this->_propDict["simulations"] = $val;
return $this;
}

}
Loading