Skip to content

Commit

Permalink
Merge pull request #1156 from microsoftgraph/beta/pipelinebuild/107290
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
SilasKenneth authored Mar 1, 2023
2 parents 229b5a1 + 1adba29 commit 446ea27
Show file tree
Hide file tree
Showing 33 changed files with 2,698 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public function setOnPremisesConnectionId($val)

/**
* Gets the regionGroup
* The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when provisioning a Cloud PC, and the Cloud PC will be put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, and southKorea. Read-only.
*
* @return CloudPcRegionGroup|null The regionGroup
*/
Expand All @@ -72,6 +73,7 @@ public function getRegionGroup()

/**
* Sets the regionGroup
* The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when provisioning a Cloud PC, and the Cloud PC will be put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, and southKorea. Read-only.
*
* @param CloudPcRegionGroup $val The value to assign to the regionGroup
*
Expand Down
4 changes: 4 additions & 0 deletions src/Beta/Microsoft/Graph/Model/CloudPcSnapshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function setCreatedDateTime($val)

/**
* Gets the expirationDateTime
* The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as'2014-01-01T00:00:00Z'.
*
* @return \DateTime|null The expirationDateTime
*/
Expand All @@ -106,6 +107,7 @@ public function getExpirationDateTime()

/**
* Sets the expirationDateTime
* The date and time when the snapshot expires. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as'2014-01-01T00:00:00Z'.
*
* @param \DateTime $val The expirationDateTime
*
Expand Down Expand Up @@ -152,6 +154,7 @@ public function setLastRestoredDateTime($val)

/**
* Gets the snapshotType
* The type of snapshot. indicates how the snapshot is to be created. Possible values are automatic, manual. Default value is automatic.
*
* @return CloudPcSnapshotType|null The snapshotType
*/
Expand All @@ -170,6 +173,7 @@ public function getSnapshotType()

/**
* Sets the snapshotType
* The type of snapshot. indicates how the snapshot is to be created. Possible values are automatic, manual. Default value is automatic.
*
* @param CloudPcSnapshotType $val The snapshotType
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,37 @@ public function setPersistentBrowser($val)
return $this;
}

/**
* Gets the secureSignInSession
*
* @return SecureSignInSessionControl|null The secureSignInSession
*/
public function getSecureSignInSession()
{
if (array_key_exists("secureSignInSession", $this->_propDict)) {
if (is_a($this->_propDict["secureSignInSession"], "\Beta\Microsoft\Graph\Model\SecureSignInSessionControl") || is_null($this->_propDict["secureSignInSession"])) {
return $this->_propDict["secureSignInSession"];
} else {
$this->_propDict["secureSignInSession"] = new SecureSignInSessionControl($this->_propDict["secureSignInSession"]);
return $this->_propDict["secureSignInSession"];
}
}
return null;
}

/**
* Sets the secureSignInSession
*
* @param SecureSignInSessionControl $val The value to assign to the secureSignInSession
*
* @return ConditionalAccessSessionControls The ConditionalAccessSessionControls
*/
public function setSecureSignInSession($val)
{
$this->_propDict["secureSignInSession"] = $val;
return $this;
}

/**
* Gets the signInFrequency
* Session control to enforce signin frequency.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function setPlatform($val)

/**
* Gets the technologies
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @return DeviceManagementConfigurationTechnologies|null The technologies
*/
Expand All @@ -139,7 +139,7 @@ public function getTechnologies()

/**
* Sets the technologies
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, enrollment, endpointPrivilegeManagement, unknownFutureValue.
*
* @param DeviceManagementConfigurationTechnologies $val The value to assign to the technologies
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function setFileTypes($val)

/**
* Gets the format
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub.
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue.
*
* @return DeviceManagementConfigurationStringFormat|null The format
*/
Expand All @@ -73,7 +73,7 @@ public function getFormat()

/**
* Sets the format
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub.
* Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue.
*
* @param DeviceManagementConfigurationStringFormat $val The value to assign to the format
*
Expand Down Expand Up @@ -142,7 +142,7 @@ public function setIsSecret($val)
}
/**
* Gets the maximumLength
* Maximum length of string
* Maximum length of string. Valid values 0 to 87516
*
* @return int|null The maximumLength
*/
Expand All @@ -157,7 +157,7 @@ public function getMaximumLength()

/**
* Sets the maximumLength
* Maximum length of string
* Maximum length of string. Valid values 0 to 87516
*
* @param int $val The value of the maximumLength
*
Expand All @@ -170,7 +170,7 @@ public function setMaximumLength($val)
}
/**
* Gets the minimumLength
* Minimum length of string
* Minimum length of string. Valid values 0 to 87516
*
* @return int|null The minimumLength
*/
Expand All @@ -185,7 +185,7 @@ public function getMinimumLength()

/**
* Sets the minimumLength
* Minimum length of string
* Minimum length of string. Valid values 0 to 87516
*
* @param int $val The value of the minimumLength
*
Expand Down
4 changes: 2 additions & 2 deletions src/Beta/Microsoft/Graph/Model/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function setCreatedByAppId($val)

/**
* Gets the createdDateTime
* Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only.
* Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only.
*
* @return \DateTime|null The createdDateTime
*/
Expand All @@ -163,7 +163,7 @@ public function getCreatedDateTime()

/**
* Sets the createdDateTime
* Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only.
* Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only.
*
* @param \DateTime $val The createdDateTime
*
Expand Down
8 changes: 4 additions & 4 deletions src/Beta/Microsoft/Graph/Model/Identity.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Identity extends Entity
{
/**
* Gets the displayName
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
* The display name of the identity. This property is read-only.
*
* @return string|null The displayName
*/
Expand All @@ -40,7 +40,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
* The display name of the identity. This property is read-only.
*
* @param string $val The value of the displayName
*
Expand All @@ -53,7 +53,7 @@ public function setDisplayName($val)
}
/**
* Gets the id
* Unique identifier for the identity.
* The identifier of the identity. This property is read-only.
*
* @return string|null The id
*/
Expand All @@ -68,7 +68,7 @@ public function getId()

/**
* Sets the id
* Unique identifier for the identity.
* The identifier of the identity. This property is read-only.
*
* @param string $val The value of the id
*
Expand Down
31 changes: 31 additions & 0 deletions src/Beta/Microsoft/Graph/Model/IdentityGovernance.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,37 @@ public function setPrivilegedAccess($val)
return $this;
}

/**
* Gets the roleManagementAlerts
*
* @return RoleManagementAlert|null The roleManagementAlerts
*/
public function getRoleManagementAlerts()
{
if (array_key_exists("roleManagementAlerts", $this->_propDict)) {
if (is_a($this->_propDict["roleManagementAlerts"], "\Beta\Microsoft\Graph\Model\RoleManagementAlert") || is_null($this->_propDict["roleManagementAlerts"])) {
return $this->_propDict["roleManagementAlerts"];
} else {
$this->_propDict["roleManagementAlerts"] = new RoleManagementAlert($this->_propDict["roleManagementAlerts"]);
return $this->_propDict["roleManagementAlerts"];
}
}
return null;
}

/**
* Sets the roleManagementAlerts
*
* @param RoleManagementAlert $val The roleManagementAlerts
*
* @return IdentityGovernance
*/
public function setRoleManagementAlerts($val)
{
$this->_propDict["roleManagementAlerts"] = $val;
return $this;
}

/**
* Gets the ODataType
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* InvalidLicenseAlertConfiguration 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 Beta\Microsoft\Graph\Model;

/**
* InvalidLicenseAlertConfiguration 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 InvalidLicenseAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
{
}
54 changes: 54 additions & 0 deletions src/Beta/Microsoft/Graph/Model/InvalidLicenseAlertIncident.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* InvalidLicenseAlertIncident 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 Beta\Microsoft\Graph\Model;

/**
* InvalidLicenseAlertIncident 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 InvalidLicenseAlertIncident extends UnifiedRoleManagementAlertIncident
{
/**
* Gets the tenantLicenseStatus
*
* @return string|null The tenantLicenseStatus
*/
public function getTenantLicenseStatus()
{
if (array_key_exists("tenantLicenseStatus", $this->_propDict)) {
return $this->_propDict["tenantLicenseStatus"];
} else {
return null;
}
}

/**
* Sets the tenantLicenseStatus
*
* @param string $val The tenantLicenseStatus
*
* @return InvalidLicenseAlertIncident
*/
public function setTenantLicenseStatus($val)
{
$this->_propDict["tenantLicenseStatus"] = $val;
return $this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* JustInTimeEnforcementConfiguration 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 Beta\Microsoft\Graph\Model;
/**
* JustInTimeEnforcementConfiguration 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 JustInTimeEnforcementConfiguration extends Entity
{
/**
* Gets the isEnabled
*
* @return bool|null The isEnabled
*/
public function getIsEnabled()
{
if (array_key_exists("isEnabled", $this->_propDict)) {
return $this->_propDict["isEnabled"];
} else {
return null;
}
}

/**
* Sets the isEnabled
*
* @param bool $val The value of the isEnabled
*
* @return JustInTimeEnforcementConfiguration
*/
public function setIsEnabled($val)
{
$this->_propDict["isEnabled"] = $val;
return $this;
}
}
Loading

0 comments on commit 446ea27

Please sign in to comment.