Skip to content

Commit

Permalink
Merge pull request #1363 from microsoftgraph/v1.0/pipelinebuild/127020
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
Ndiritu authored Oct 18, 2023
2 parents 4b296d3 + 6b91e5a commit a225235
Show file tree
Hide file tree
Showing 27 changed files with 437 additions and 36 deletions.
4 changes: 2 additions & 2 deletions src/ExternalConnectors/Model/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function setIsSearchable($val)

/**
* Gets the labels
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl.
*
* @return Label|null The labels
*/
Expand All @@ -185,7 +185,7 @@ public function getLabels()

/**
* Sets the labels
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl.
*
* @param Label $val The value to assign to the labels
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessPackageTextInputQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AccessPackageTextInputQuestion extends AccessPackageQuestion
{
/**
* Gets the isSingleLineQuestion
* Indicates whether the answer will be in single or multiple line format.
* Indicates whether the answer is in single or multiple line format.
*
* @return bool|null The isSingleLineQuestion
*/
Expand All @@ -41,7 +41,7 @@ public function getIsSingleLineQuestion()

/**
* Sets the isSingleLineQuestion
* Indicates whether the answer will be in single or multiple line format.
* Indicates whether the answer is in single or multiple line format.
*
* @param bool $val The isSingleLineQuestion
*
Expand Down
31 changes: 31 additions & 0 deletions src/Model/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,37 @@ public function setServiceAnnouncement($val)
return $this;
}

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

/**
* Sets the people
*
* @param PeopleAdminSettings $val The people
*
* @return Admin
*/
public function setPeople($val)
{
$this->_propDict["people"] = $val;
return $this;
}

/**
* Gets the ODataType
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function setApi($val)

/**
* Gets the appId
* The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Supports $filter (eq).
* The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq).
*
* @return string|null The appId
*/
Expand All @@ -104,7 +104,7 @@ public function getAppId()

/**
* Sets the appId
* The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Supports $filter (eq).
* The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Alternate key. Supports $filter (eq).
*
* @param string $val The appId
*
Expand Down
55 changes: 55 additions & 0 deletions src/Model/PeopleAdminSettings.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* PeopleAdminSettings 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;

/**
* PeopleAdminSettings 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 PeopleAdminSettings extends Entity
{

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

/**
* Sets the profileCardProperties
*
* @param ProfileCardProperty[] $val The profileCardProperties
*
* @return PeopleAdminSettings
*/
public function setProfileCardProperties($val)
{
$this->_propDict["profileCardProperties"] = $val;
return $this;
}

}
12 changes: 12 additions & 0 deletions src/Model/PrivilegedAccessGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public function setAssignmentApprovals($val)

/**
* Gets the assignmentScheduleInstances
* The instances of assignment schedules to activate a just-in-time access.
*
* @return array|null The assignmentScheduleInstances
*/
Expand All @@ -69,6 +70,7 @@ public function getAssignmentScheduleInstances()

/**
* Sets the assignmentScheduleInstances
* The instances of assignment schedules to activate a just-in-time access.
*
* @param PrivilegedAccessGroupAssignmentScheduleInstance[] $val The assignmentScheduleInstances
*
Expand All @@ -83,6 +85,7 @@ public function setAssignmentScheduleInstances($val)

/**
* Gets the assignmentScheduleRequests
* The schedule requests for operations to create, update, delete, extend, and renew an assignment.
*
* @return array|null The assignmentScheduleRequests
*/
Expand All @@ -97,6 +100,7 @@ public function getAssignmentScheduleRequests()

/**
* Sets the assignmentScheduleRequests
* The schedule requests for operations to create, update, delete, extend, and renew an assignment.
*
* @param PrivilegedAccessGroupAssignmentScheduleRequest[] $val The assignmentScheduleRequests
*
Expand All @@ -111,6 +115,7 @@ public function setAssignmentScheduleRequests($val)

/**
* Gets the assignmentSchedules
* The assignment schedules to activate a just-in-time access.
*
* @return array|null The assignmentSchedules
*/
Expand All @@ -125,6 +130,7 @@ public function getAssignmentSchedules()

/**
* Sets the assignmentSchedules
* The assignment schedules to activate a just-in-time access.
*
* @param PrivilegedAccessGroupAssignmentSchedule[] $val The assignmentSchedules
*
Expand All @@ -139,6 +145,7 @@ public function setAssignmentSchedules($val)

/**
* Gets the eligibilityScheduleInstances
* The instances of eligibility schedules to activate a just-in-time access.
*
* @return array|null The eligibilityScheduleInstances
*/
Expand All @@ -153,6 +160,7 @@ public function getEligibilityScheduleInstances()

/**
* Sets the eligibilityScheduleInstances
* The instances of eligibility schedules to activate a just-in-time access.
*
* @param PrivilegedAccessGroupEligibilityScheduleInstance[] $val The eligibilityScheduleInstances
*
Expand All @@ -167,6 +175,7 @@ public function setEligibilityScheduleInstances($val)

/**
* Gets the eligibilityScheduleRequests
* The schedule requests for operations to create, update, delete, extend, and renew an eligibility.
*
* @return array|null The eligibilityScheduleRequests
*/
Expand All @@ -181,6 +190,7 @@ public function getEligibilityScheduleRequests()

/**
* Sets the eligibilityScheduleRequests
* The schedule requests for operations to create, update, delete, extend, and renew an eligibility.
*
* @param PrivilegedAccessGroupEligibilityScheduleRequest[] $val The eligibilityScheduleRequests
*
Expand All @@ -195,6 +205,7 @@ public function setEligibilityScheduleRequests($val)

/**
* Gets the eligibilitySchedules
* The eligibility schedules to activate a just-in-time access.
*
* @return array|null The eligibilitySchedules
*/
Expand All @@ -209,6 +220,7 @@ public function getEligibilitySchedules()

/**
* Sets the eligibilitySchedules
* The eligibility schedules to activate a just-in-time access.
*
* @param PrivilegedAccessGroupEligibilitySchedule[] $val The eligibilitySchedules
*
Expand Down
16 changes: 16 additions & 0 deletions src/Model/PrivilegedAccessGroupAssignmentSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class PrivilegedAccessGroupAssignmentSchedule extends PrivilegedAccessSchedule
{
/**
* Gets the accessId
* The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq).
*
* @return PrivilegedAccessGroupRelationships|null The accessId
*/
Expand All @@ -44,6 +45,7 @@ public function getAccessId()

/**
* Sets the accessId
* The identifier of the membership or ownership assignment to the group that is governed by PIM. Required. The possible values are: owner, member, unknownFutureValue. Supports $filter (eq).
*
* @param PrivilegedAccessGroupRelationships $val The accessId
*
Expand All @@ -57,6 +59,7 @@ public function setAccessId($val)

/**
* Gets the assignmentType
* Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq).
*
* @return PrivilegedAccessGroupAssignmentType|null The assignmentType
*/
Expand All @@ -75,6 +78,7 @@ public function getAssignmentType()

/**
* Sets the assignmentType
* Indicates whether the membership or ownership assignment for the principal is granted through activation or direct assignment. Required. The possible values are: assigned, activated, unknownFutureValue. Supports $filter (eq).
*
* @param PrivilegedAccessGroupAssignmentType $val The assignmentType
*
Expand All @@ -88,6 +92,7 @@ public function setAssignmentType($val)

/**
* Gets the groupId
* The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq).
*
* @return string|null The groupId
*/
Expand All @@ -102,6 +107,7 @@ public function getGroupId()

/**
* Sets the groupId
* The identifier of the group representing the scope of the membership or ownership assignment through PIM for groups. Required. Supports $filter (eq).
*
* @param string $val The groupId
*
Expand All @@ -115,6 +121,7 @@ public function setGroupId($val)

/**
* Gets the memberType
* Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq).
*
* @return PrivilegedAccessGroupMemberType|null The memberType
*/
Expand All @@ -133,6 +140,7 @@ public function getMemberType()

/**
* Sets the memberType
* Indicates whether the assignment is derived from a direct group assignment or through a transitive assignment. The possible values are: direct, group, unknownFutureValue. Supports $filter (eq).
*
* @param PrivilegedAccessGroupMemberType $val The memberType
*
Expand All @@ -146,6 +154,7 @@ public function setMemberType($val)

/**
* Gets the principalId
* The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq).
*
* @return string|null The principalId
*/
Expand All @@ -160,6 +169,7 @@ public function getPrincipalId()

/**
* Sets the principalId
* The identifier of the principal whose membership or ownership assignment is granted through PIM for groups. Required. Supports $filter (eq).
*
* @param string $val The principalId
*
Expand All @@ -173,6 +183,7 @@ public function setPrincipalId($val)

/**
* Gets the activatedUsing
* When the request activates an ownership or membership assignment in PIM for groups, this object represents the eligibility relationship. Otherwise, it is null. Supports $expand.
*
* @return PrivilegedAccessGroupEligibilitySchedule|null The activatedUsing
*/
Expand All @@ -191,6 +202,7 @@ public function getActivatedUsing()

/**
* Sets the activatedUsing
* When the request activates an ownership or membership assignment in PIM for groups, this object represents the eligibility relationship. Otherwise, it is null. Supports $expand.
*
* @param PrivilegedAccessGroupEligibilitySchedule $val The activatedUsing
*
Expand All @@ -204,6 +216,7 @@ public function setActivatedUsing($val)

/**
* Gets the group
* References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand.
*
* @return Group|null The group
*/
Expand All @@ -222,6 +235,7 @@ public function getGroup()

/**
* Sets the group
* References the group that is the scope of the membership or ownership assignment through PIM for groups. Supports $expand.
*
* @param Group $val The group
*
Expand All @@ -235,6 +249,7 @@ public function setGroup($val)

/**
* Gets the principal
* References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand.
*
* @return DirectoryObject|null The principal
*/
Expand All @@ -253,6 +268,7 @@ public function getPrincipal()

/**
* Sets the principal
* References the principal that's in the scope of this membership or ownership assignment request to the group that's governed by PIM. Supports $expand.
*
* @param DirectoryObject $val The principal
*
Expand Down
Loading

0 comments on commit a225235

Please sign in to comment.