Skip to content

Commit

Permalink
Merge pull request #747 from microsoftgraph/v1.0/pipelinebuild/62445
Browse files Browse the repository at this point in the history
Generated models using Typewriter
  • Loading branch information
SilasKenneth authored Jan 6, 2022
2 parents 4e9373c + 0f47982 commit 87b9821
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/Model/AccessPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function setDescription($val)

/**
* Gets the displayName
* The display name of the access package.
* The display name of the access package. Supports $filter (eq, contains).
*
* @return string|null The displayName
*/
Expand All @@ -103,7 +103,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name of the access package.
* The display name of the access package. Supports $filter (eq, contains).
*
* @param string $val The displayName
*
Expand Down
12 changes: 6 additions & 6 deletions src/Model/AccessPackageAssignment.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function setSchedule($val)

/**
* Gets the state
* The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only.
* The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq).
*
* @return AccessPackageAssignmentState|null The state
*/
Expand All @@ -111,7 +111,7 @@ public function getState()

/**
* Sets the state
* The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only.
* The state of the access package assignment. The possible values are: delivering, partiallyDelivered, delivered, expired, deliveryFailed, unknownFutureValue. Read-only. Supports $filter (eq).
*
* @param AccessPackageAssignmentState $val The state
*
Expand Down Expand Up @@ -154,7 +154,7 @@ public function setStatus($val)

/**
* Gets the accessPackage
* Read-only. Nullable.
* Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.
*
* @return AccessPackage|null The accessPackage
*/
Expand All @@ -173,7 +173,7 @@ public function getAccessPackage()

/**
* Sets the accessPackage
* Read-only. Nullable.
* Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.
*
* @param AccessPackage $val The accessPackage
*
Expand All @@ -187,7 +187,7 @@ public function setAccessPackage($val)

/**
* Gets the target
* The subject of the access package assignment. Read-only. Nullable.
* The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.
*
* @return AccessPackageSubject|null The target
*/
Expand All @@ -206,7 +206,7 @@ public function getTarget()

/**
* Sets the target
* The subject of the access package assignment. Read-only. Nullable.
* The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId.
*
* @param AccessPackageSubject $val The target
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/AccessReviewSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class AccessReviewSet extends Entity

/**
* Gets the definitions
* Represents the template and scheduling for an access review.
*
* @return array|null The definitions
*/
Expand All @@ -41,6 +42,7 @@ public function getDefinitions()

/**
* Sets the definitions
* Represents the template and scheduling for an access review.
*
* @param AccessReviewScheduleDefinition[] $val The definitions
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/AgreementFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class AgreementFile extends AgreementFileProperties

/**
* Gets the localizations
* The localized version of the terms of use agreement files attached to the agreement.
*
* @return array|null The localizations
*/
Expand All @@ -41,6 +42,7 @@ public function getLocalizations()

/**
* Sets the localizations
* The localized version of the terms of use agreement files attached to the agreement.
*
* @param AgreementFileLocalization[] $val The localizations
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/AgreementFileLocalization.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class AgreementFileLocalization extends AgreementFileProperties

/**
* Gets the versions
* Read-only. Customized versions of the terms of use agreement in the Azure AD tenant.
*
* @return array|null The versions
*/
Expand All @@ -41,6 +42,7 @@ public function getVersions()

/**
* Sets the versions
* Read-only. Customized versions of the terms of use agreement in the Azure AD tenant.
*
* @param AgreementFileVersion[] $val The versions
*
Expand Down
14 changes: 14 additions & 0 deletions src/Model/AgreementFileProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class AgreementFileProperties extends Entity
{
/**
* Gets the createdDateTime
* The date time representing when the file was 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.
*
* @return \DateTime|null The createdDateTime
*/
Expand All @@ -44,6 +45,7 @@ public function getCreatedDateTime()

/**
* Sets the createdDateTime
* The date time representing when the file was 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.
*
* @param \DateTime $val The createdDateTime
*
Expand All @@ -57,6 +59,7 @@ public function setCreatedDateTime($val)

/**
* Gets the displayName
* Localized display name of the policy file of an agreement. The localized display name is shown to end users who view the agreement.
*
* @return string|null The displayName
*/
Expand All @@ -71,6 +74,7 @@ public function getDisplayName()

/**
* Sets the displayName
* Localized display name of the policy file of an agreement. The localized display name is shown to end users who view the agreement.
*
* @param string $val The displayName
*
Expand All @@ -84,6 +88,7 @@ public function setDisplayName($val)

/**
* Gets the fileData
* Data that represents the terms of use PDF document. Read-only.
*
* @return AgreementFileData|null The fileData
*/
Expand All @@ -102,6 +107,7 @@ public function getFileData()

/**
* Sets the fileData
* Data that represents the terms of use PDF document. Read-only.
*
* @param AgreementFileData $val The fileData
*
Expand All @@ -115,6 +121,7 @@ public function setFileData($val)

/**
* Gets the fileName
* Name of the agreement file (for example, TOU.pdf). Read-only.
*
* @return string|null The fileName
*/
Expand All @@ -129,6 +136,7 @@ public function getFileName()

/**
* Sets the fileName
* Name of the agreement file (for example, TOU.pdf). Read-only.
*
* @param string $val The fileName
*
Expand All @@ -142,6 +150,7 @@ public function setFileName($val)

/**
* Gets the isDefault
* If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only.
*
* @return bool|null The isDefault
*/
Expand All @@ -156,6 +165,7 @@ public function getIsDefault()

/**
* Sets the isDefault
* If none of the languages matches the client preference, indicates whether this is the default agreement file . If none of the files are marked as default, the first one is treated as the default. Read-only.
*
* @param bool $val The isDefault
*
Expand All @@ -169,6 +179,7 @@ public function setIsDefault($val)

/**
* Gets the isMajorVersion
* Indicates whether the agreement file is a major version update. Major version updates invalidate the agreement's acceptances on the corresponding language.
*
* @return bool|null The isMajorVersion
*/
Expand All @@ -183,6 +194,7 @@ public function getIsMajorVersion()

/**
* Sets the isMajorVersion
* Indicates whether the agreement file is a major version update. Major version updates invalidate the agreement's acceptances on the corresponding language.
*
* @param bool $val The isMajorVersion
*
Expand All @@ -196,6 +208,7 @@ public function setIsMajorVersion($val)

/**
* Gets the language
* The language of the agreement file in the format 'languagecode2-country/regioncode2'. 'languagecode2' is a lowercase two-letter code derived from ISO 639-1, while 'country/regioncode2' is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag. For example, U.S. English is en-US. Read-only.
*
* @return string|null The language
*/
Expand All @@ -210,6 +223,7 @@ public function getLanguage()

/**
* Sets the language
* The language of the agreement file in the format 'languagecode2-country/regioncode2'. 'languagecode2' is a lowercase two-letter code derived from ISO 639-1, while 'country/regioncode2' is derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47 language tag. For example, U.S. English is en-US. Read-only.
*
* @param string $val The language
*
Expand Down
2 changes: 2 additions & 0 deletions src/Model/AppConsentApprovalRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class AppConsentApprovalRoute extends Entity

/**
* Gets the appConsentRequests
* A collection of userConsentRequest objects for a specific application.
*
* @return array|null The appConsentRequests
*/
Expand All @@ -41,6 +42,7 @@ public function getAppConsentRequests()

/**
* Sets the appConsentRequests
* A collection of userConsentRequest objects for a specific application.
*
* @param AppConsentRequest[] $val The appConsentRequests
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/ConnectedOrganization.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function setDescription($val)

/**
* Gets the displayName
* The display name of the connected organization.
* The display name of the connected organization. Supports $filter (eq).
*
* @return string|null The displayName
*/
Expand All @@ -103,7 +103,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name of the connected organization.
* The display name of the connected organization. Supports $filter (eq).
*
* @param string $val The displayName
*
Expand Down
24 changes: 12 additions & 12 deletions src/Model/EntitlementManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function setAccessPackageAssignmentApprovals($val)

/**
* Gets the accessPackages
* Access packages.
* Represents access package objects.
*
* @return array|null The accessPackages
*/
Expand All @@ -70,7 +70,7 @@ public function getAccessPackages()

/**
* Sets the accessPackages
* Access packages.
* Represents access package objects.
*
* @param AccessPackage[] $val The accessPackages
*
Expand All @@ -85,7 +85,7 @@ public function setAccessPackages($val)

/**
* Gets the assignmentRequests
* Access package assignment requests.
* Represents access package assignment requests created by or on behalf of a user.
*
* @return array|null The assignmentRequests
*/
Expand All @@ -100,7 +100,7 @@ public function getAssignmentRequests()

/**
* Sets the assignmentRequests
* Access package assignment requests.
* Represents access package assignment requests created by or on behalf of a user.
*
* @param AccessPackageAssignmentRequest[] $val The assignmentRequests
*
Expand All @@ -115,7 +115,7 @@ public function setAssignmentRequests($val)

/**
* Gets the assignments
* Access package assignments.
* Represents the grant of an access package to a subject (user or group).
*
* @return array|null The assignments
*/
Expand All @@ -130,7 +130,7 @@ public function getAssignments()

/**
* Sets the assignments
* Access package assignments.
* Represents the grant of an access package to a subject (user or group).
*
* @param AccessPackageAssignment[] $val The assignments
*
Expand All @@ -145,7 +145,7 @@ public function setAssignments($val)

/**
* Gets the catalogs
* Access package catalogs.
* Represents a group of access packages.
*
* @return array|null The catalogs
*/
Expand All @@ -160,7 +160,7 @@ public function getCatalogs()

/**
* Sets the catalogs
* Access package catalogs.
* Represents a group of access packages.
*
* @param AccessPackageCatalog[] $val The catalogs
*
Expand All @@ -175,7 +175,7 @@ public function setCatalogs($val)

/**
* Gets the connectedOrganizations
* Connected organizations.
* Represents references to a directory or domain of another organization whose users can request access.
*
* @return array|null The connectedOrganizations
*/
Expand All @@ -190,7 +190,7 @@ public function getConnectedOrganizations()

/**
* Sets the connectedOrganizations
* Connected organizations.
* Represents references to a directory or domain of another organization whose users can request access.
*
* @param ConnectedOrganization[] $val The connectedOrganizations
*
Expand All @@ -204,7 +204,7 @@ public function setConnectedOrganizations($val)

/**
* Gets the settings
* Entitlement management settings.
* Represents the settings that control the behavior of Azure AD entitlement management.
*
* @return EntitlementManagementSettings|null The settings
*/
Expand All @@ -223,7 +223,7 @@ public function getSettings()

/**
* Sets the settings
* Entitlement management settings.
* Represents the settings that control the behavior of Azure AD entitlement management.
*
* @param EntitlementManagementSettings $val The settings
*
Expand Down
Loading

0 comments on commit 87b9821

Please sign in to comment.