Skip to content

Commit 2bfe4bf

Browse files
authored
Merge pull request #307 from microsoftgraph/beta/pipelinebuild/131168
Generated beta models and request builders
2 parents 8442ac4 + 3f3368d commit 2bfe4bf

File tree

10,967 files changed

+81504
-36430
lines changed

Some content is hidden

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

10,967 files changed

+81504
-36430
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.1.0] - 2024-01-11
9+
10+
### Added
11+
12+
### Changed
13+
- Latest metadata updates from 9th January 2024.
14+
815
## [1.0.0] - 2023-10-31
916

1017
### Added

msgraph_beta/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION: str = '1.0.0'
1+
VERSION: str = '1.1.0'

msgraph_beta/generated/access_review_decisions/access_review_decisions_request_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview
102102
request_info.url_template = self.url_template
103103
request_info.path_parameters = self.path_parameters
104104
request_info.http_method = Method.GET
105-
request_info.headers.try_add("Accept", "application/json;q=1")
105+
request_info.headers.try_add("Accept", "application/json")
106106
return request_info
107107

108108
def to_post_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation:
@@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessReviewDecision] = None
121121
request_info.url_template = self.url_template
122122
request_info.path_parameters = self.path_parameters
123123
request_info.http_method = Method.POST
124-
request_info.headers.try_add("Accept", "application/json;q=1")
124+
request_info.headers.try_add("Accept", "application/json")
125125
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
126126
return request_info
127127

msgraph_beta/generated/access_review_decisions/item/access_review_decision_item_request_builder.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev
103103
request_info.url_template = self.url_template
104104
request_info.path_parameters = self.path_parameters
105105
request_info.http_method = Method.DELETE
106-
request_info.headers.try_add("Accept", "application/json, application/json")
106+
request_info.headers.try_add("Accept", "application/json")
107107
return request_info
108108

109109
def to_get_request_information(self,request_configuration: Optional[AccessReviewDecisionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation:
@@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview
120120
request_info.url_template = self.url_template
121121
request_info.path_parameters = self.path_parameters
122122
request_info.http_method = Method.GET
123-
request_info.headers.try_add("Accept", "application/json;q=1")
123+
request_info.headers.try_add("Accept", "application/json")
124124
return request_info
125125

126126
def to_patch_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation:
@@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewDecision] = Non
139139
request_info.url_template = self.url_template
140140
request_info.path_parameters = self.path_parameters
141141
request_info.http_method = Method.PATCH
142-
request_info.headers.try_add("Accept", "application/json;q=1")
142+
request_info.headers.try_add("Accept", "application/json")
143143
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
144144
return request_info
145145

msgraph_beta/generated/access_reviews/access_reviews_request_builder.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def by_access_review_id(self,access_review_id: str) -> AccessReviewItemRequestBu
4545

4646
async def get(self,request_configuration: Optional[AccessReviewsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewCollectionResponse]:
4747
"""
48-
Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. This API is available in the following national cloud deployments.
48+
Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
4949
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
5050
Returns: Optional[AccessReviewCollectionResponse]
5151
Find more info here: https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0
@@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AccessReviewsRequestBuilderGe
6767

6868
async def post(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReview]:
6969
"""
70-
In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. This API is available in the following national cloud deployments.
70+
In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program.
7171
param body: The request body
7272
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
7373
Returns: Optional[AccessReview]
@@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessReview] = None, request_configuration:
9292

9393
def to_get_request_information(self,request_configuration: Optional[AccessReviewsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation:
9494
"""
95-
Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. This API is available in the following national cloud deployments.
95+
Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
9696
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
9797
Returns: RequestInformation
9898
"""
@@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview
104104
request_info.url_template = self.url_template
105105
request_info.path_parameters = self.path_parameters
106106
request_info.http_method = Method.GET
107-
request_info.headers.try_add("Accept", "application/json;q=1")
107+
request_info.headers.try_add("Accept", "application/json")
108108
return request_info
109109

110110
def to_post_request_information(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation:
111111
"""
112-
In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. This API is available in the following national cloud deployments.
112+
In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program.
113113
param body: The request body
114114
param request_configuration: Configuration for the request such as headers, query parameters, and middleware options.
115115
Returns: RequestInformation
@@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessReview] = None, reques
123123
request_info.url_template = self.url_template
124124
request_info.path_parameters = self.path_parameters
125125
request_info.http_method = Method.POST
126-
request_info.headers.try_add("Accept", "application/json;q=1")
126+
request_info.headers.try_add("Accept", "application/json")
127127
request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
128128
return request_info
129129

@@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder:
149149
@dataclass
150150
class AccessReviewsRequestBuilderGetQueryParameters():
151151
"""
152-
Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. This API is available in the following national cloud deployments.
152+
Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
153153
"""
154154
def get_query_parameter(self,original_name: Optional[str] = None) -> str:
155155
"""

0 commit comments

Comments
 (0)