Skip to content

Commit b69c9ad

Browse files
authored
Merge pull request #1813 from microsoftgraph/kiota/v1.0/pipelinebuild/247501
Generated models and request builders
2 parents 459e111 + ab58b33 commit b69c9ad

143 files changed

Lines changed: 4010 additions & 306 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilder.php‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
5252
}
5353

5454
/**
55-
* Get governanceInvitations from directory
55+
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
5656
* @param GovernanceInvitationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5757
* @return Promise<GovernanceInvitationCollectionResponse|null>
5858
* @throws Exception
59+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governanceinvitations?view=graph-rest-1.0 Find more info here
5960
*/
6061
public function get(?GovernanceInvitationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
6162
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -66,11 +67,12 @@ public function get(?GovernanceInvitationsRequestBuilderGetRequestConfiguration
6667
}
6768

6869
/**
69-
* Create new navigation property to governanceInvitations for directory
70+
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
7071
* @param GovernanceInvitation $body The request body
7172
* @param GovernanceInvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7273
* @return Promise<GovernanceInvitation|null>
7374
* @throws Exception
75+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governanceinvitations?view=graph-rest-1.0 Find more info here
7476
*/
7577
public function post(GovernanceInvitation $body, ?GovernanceInvitationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
7678
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
@@ -81,7 +83,7 @@ public function post(GovernanceInvitation $body, ?GovernanceInvitationsRequestBu
8183
}
8284

8385
/**
84-
* Get governanceInvitations from directory
86+
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
8587
* @param GovernanceInvitationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8688
* @return RequestInformation
8789
*/
@@ -102,7 +104,7 @@ public function toGetRequestInformation(?GovernanceInvitationsRequestBuilderGetR
102104
}
103105

104106
/**
105-
* Create new navigation property to governanceInvitations for directory
107+
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
106108
* @param GovernanceInvitation $body The request body
107109
* @param GovernanceInvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108110
* @return RequestInformation

‎src/Generated/Directory/TenantGovernance/GovernanceInvitations/GovernanceInvitationsRequestBuilderGetQueryParameters.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get governanceInvitations from directory
8+
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
99
*/
1010
class GovernanceInvitationsRequestBuilderGetQueryParameters
1111
{

‎src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilder.php‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* Delete navigation property governanceInvitations for directory
34+
* Delete a governanceInvitation object.
3535
* @param GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<void|null>
3737
* @throws Exception
38+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-delete?view=graph-rest-1.0 Find more info here
3839
*/
3940
public function delete(?GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
4041
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -45,10 +46,11 @@ public function delete(?GovernanceInvitationItemRequestBuilderDeleteRequestConfi
4546
}
4647

4748
/**
48-
* Get governanceInvitations from directory
49+
* Read the properties of a governanceInvitation object.
4950
* @param GovernanceInvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5051
* @return Promise<GovernanceInvitation|null>
5152
* @throws Exception
53+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-get?view=graph-rest-1.0 Find more info here
5254
*/
5355
public function get(?GovernanceInvitationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5456
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -74,7 +76,7 @@ public function patch(GovernanceInvitation $body, ?GovernanceInvitationItemReque
7476
}
7577

7678
/**
77-
* Delete navigation property governanceInvitations for directory
79+
* Delete a governanceInvitation object.
7880
* @param GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7981
* @return RequestInformation
8082
*/
@@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?GovernanceInvitationItemRequestBuild
9294
}
9395

9496
/**
95-
* Get governanceInvitations from directory
97+
* Read the properties of a governanceInvitation object.
9698
* @param GovernanceInvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9799
* @return RequestInformation
98100
*/

‎src/Generated/Directory/TenantGovernance/GovernanceInvitations/Item/GovernanceInvitationItemRequestBuilderGetQueryParameters.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get governanceInvitations from directory
8+
* Read the properties of a governanceInvitation object.
99
*/
1010
class GovernanceInvitationItemRequestBuilderGetQueryParameters
1111
{

‎src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilder.php‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
5252
}
5353

5454
/**
55-
* Get governancePolicyTemplates from directory
55+
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
5656
* @param GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5757
* @return Promise<TenantGovernancePolicyTemplateCollectionResponse|null>
5858
* @throws Exception
59+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancepolicytemplates?view=graph-rest-1.0 Find more info here
5960
*/
6061
public function get(?GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
6162
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -66,11 +67,12 @@ public function get(?GovernancePolicyTemplatesRequestBuilderGetRequestConfigurat
6667
}
6768

6869
/**
69-
* Create new navigation property to governancePolicyTemplates for directory
70+
* Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
7071
* @param TenantGovernancePolicyTemplate $body The request body
7172
* @param GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7273
* @return Promise<TenantGovernancePolicyTemplate|null>
7374
* @throws Exception
75+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governancepolicytemplates?view=graph-rest-1.0 Find more info here
7476
*/
7577
public function post(TenantGovernancePolicyTemplate $body, ?GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
7678
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
@@ -81,7 +83,7 @@ public function post(TenantGovernancePolicyTemplate $body, ?GovernancePolicyTemp
8183
}
8284

8385
/**
84-
* Get governancePolicyTemplates from directory
86+
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
8587
* @param GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8688
* @return RequestInformation
8789
*/
@@ -102,7 +104,7 @@ public function toGetRequestInformation(?GovernancePolicyTemplatesRequestBuilder
102104
}
103105

104106
/**
105-
* Create new navigation property to governancePolicyTemplates for directory
107+
* Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
106108
* @param TenantGovernancePolicyTemplate $body The request body
107109
* @param GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108110
* @return RequestInformation

‎src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/GovernancePolicyTemplatesRequestBuilderGetQueryParameters.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get governancePolicyTemplates from directory
8+
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
99
*/
1010
class GovernancePolicyTemplatesRequestBuilderGetQueryParameters
1111
{

‎src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilder.php‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
3131
}
3232

3333
/**
34-
* Delete navigation property governancePolicyTemplates for directory
34+
* Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships.
3535
* @param TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
3636
* @return Promise<void|null>
3737
* @throws Exception
38+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-delete-governancepolicytemplates?view=graph-rest-1.0 Find more info here
3839
*/
3940
public function delete(?TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
4041
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
@@ -45,10 +46,11 @@ public function delete(?TenantGovernancePolicyTemplateItemRequestBuilderDeleteRe
4546
}
4647

4748
/**
48-
* Get governancePolicyTemplates from directory
49+
* Read the properties of a tenantGovernancePolicyTemplate object.
4950
* @param TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5051
* @return Promise<TenantGovernancePolicyTemplate|null>
5152
* @throws Exception
53+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-get?view=graph-rest-1.0 Find more info here
5254
*/
5355
public function get(?TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
5456
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -59,11 +61,12 @@ public function get(?TenantGovernancePolicyTemplateItemRequestBuilderGetRequestC
5961
}
6062

6163
/**
62-
* Update the navigation property governancePolicyTemplates in directory
64+
* Update the properties of a tenantGovernancePolicyTemplate object.
6365
* @param TenantGovernancePolicyTemplate $body The request body
6466
* @param TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6567
* @return Promise<TenantGovernancePolicyTemplate|null>
6668
* @throws Exception
69+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-update?view=graph-rest-1.0 Find more info here
6770
*/
6871
public function patch(TenantGovernancePolicyTemplate $body, ?TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
6972
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
@@ -74,7 +77,7 @@ public function patch(TenantGovernancePolicyTemplate $body, ?TenantGovernancePol
7477
}
7578

7679
/**
77-
* Delete navigation property governancePolicyTemplates for directory
80+
* Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships.
7881
* @param TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7982
* @return RequestInformation
8083
*/
@@ -92,7 +95,7 @@ public function toDeleteRequestInformation(?TenantGovernancePolicyTemplateItemRe
9295
}
9396

9497
/**
95-
* Get governancePolicyTemplates from directory
98+
* Read the properties of a tenantGovernancePolicyTemplate object.
9699
* @param TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
97100
* @return RequestInformation
98101
*/
@@ -113,7 +116,7 @@ public function toGetRequestInformation(?TenantGovernancePolicyTemplateItemReque
113116
}
114117

115118
/**
116-
* Update the navigation property governancePolicyTemplates in directory
119+
* Update the properties of a tenantGovernancePolicyTemplate object.
117120
* @param TenantGovernancePolicyTemplate $body The request body
118121
* @param TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
119122
* @return RequestInformation

‎src/Generated/Directory/TenantGovernance/GovernancePolicyTemplates/Item/TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get governancePolicyTemplates from directory
8+
* Read the properties of a tenantGovernancePolicyTemplate object.
99
*/
1010
class TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters
1111
{

‎src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilder.php‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
5252
}
5353

5454
/**
55-
* Get governanceRelationships from directory
55+
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
5656
* @param GovernanceRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5757
* @return Promise<GovernanceRelationshipCollectionResponse|null>
5858
* @throws Exception
59+
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancerelationships?view=graph-rest-1.0 Find more info here
5960
*/
6061
public function get(?GovernanceRelationshipsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
6162
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
@@ -81,7 +82,7 @@ public function post(GovernanceRelationship $body, ?GovernanceRelationshipsReque
8182
}
8283

8384
/**
84-
* Get governanceRelationships from directory
85+
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
8586
* @param GovernanceRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8687
* @return RequestInformation
8788
*/

‎src/Generated/Directory/TenantGovernance/GovernanceRelationships/GovernanceRelationshipsRequestBuilderGetQueryParameters.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Microsoft\Kiota\Abstractions\QueryParameter;
66

77
/**
8-
* Get governanceRelationships from directory
8+
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
99
*/
1010
class GovernanceRelationshipsRequestBuilderGetQueryParameters
1111
{

0 commit comments

Comments
 (0)