Skip to content

Commit

Permalink
Generated beta models and request builders (#330)
Browse files Browse the repository at this point in the history
* Update generated files with build 125212

* Update changelog

---------

Co-authored-by: Microsoft Graph DevX Tooling <[email protected]>
Co-authored-by: rkodev <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2023
1 parent 7aa2b75 commit 90577c5
Show file tree
Hide file tree
Showing 13,812 changed files with 78,408 additions and 8,856 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [0.80.0]- 2023-09-20

### Added

- Weekly generation.

## [0.79.0]- 2023-08-30

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ func (m *AccessReviewDecisionItemRequestBuilder) ToPatchRequestInformation(ctx c
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *AccessReviewDecisionItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewDecisionItemRequestBuilder) {
return NewAccessReviewDecisionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type AccessReviewDecisionsRequestBuilderPostRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewDecisionIdString provides operations to manage the collection of accessReviewDecision entities.
func (m *AccessReviewDecisionsRequestBuilder) ByAccessReviewDecisionIdString(accessReviewDecisionId string)(*AccessReviewDecisionItemRequestBuilder) {
// ByAccessReviewDecisionId provides operations to manage the collection of accessReviewDecision entities.
func (m *AccessReviewDecisionsRequestBuilder) ByAccessReviewDecisionId(accessReviewDecisionId string)(*AccessReviewDecisionItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
urlTplParams[idx] = item
Expand Down Expand Up @@ -145,3 +145,7 @@ func (m *AccessReviewDecisionsRequestBuilder) ToPostRequestInformation(ctx conte
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *AccessReviewDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewDecisionsRequestBuilder) {
return NewAccessReviewDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
4 changes: 4 additions & 0 deletions accessreviewdecisions/count_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *CountRequestBuilder) ToGetRequestInformation(ctx context.Context, reque
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *CountRequestBuilder) WithUrl(rawUrl string)(*CountRequestBuilder) {
return NewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
4 changes: 4 additions & 0 deletions accessreviews/access_review_item_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,7 @@ func (m *AccessReviewItemRequestBuilder) ToPatchRequestInformation(ctx context.C
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *AccessReviewItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewItemRequestBuilder) {
return NewAccessReviewItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
8 changes: 6 additions & 2 deletions accessreviews/access_reviews_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type AccessReviewsRequestBuilderPostRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewIdString provides operations to manage the collection of accessReview entities.
func (m *AccessReviewsRequestBuilder) ByAccessReviewIdString(accessReviewId string)(*AccessReviewItemRequestBuilder) {
// ByAccessReviewId provides operations to manage the collection of accessReview entities.
func (m *AccessReviewsRequestBuilder) ByAccessReviewId(accessReviewId string)(*AccessReviewItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
urlTplParams[idx] = item
Expand Down Expand Up @@ -151,3 +151,7 @@ func (m *AccessReviewsRequestBuilder) ToPostRequestInformation(ctx context.Conte
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *AccessReviewsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewsRequestBuilder) {
return NewAccessReviewsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
4 changes: 4 additions & 0 deletions accessreviews/count_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *CountRequestBuilder) ToGetRequestInformation(ctx context.Context, reque
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *CountRequestBuilder) WithUrl(rawUrl string)(*CountRequestBuilder) {
return NewCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
4 changes: 4 additions & 0 deletions accessreviews/item_apply_decisions_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ func (m *ItemApplyDecisionsRequestBuilder) ToPostRequestInformation(ctx context.
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemApplyDecisionsRequestBuilder) {
return NewItemApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ func (m *ItemDecisionsAccessReviewDecisionItemRequestBuilder) ToPatchRequestInfo
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemDecisionsAccessReviewDecisionItemRequestBuilder) WithUrl(rawUrl string)(*ItemDecisionsAccessReviewDecisionItemRequestBuilder) {
return NewItemDecisionsAccessReviewDecisionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
4 changes: 4 additions & 0 deletions accessreviews/item_decisions_count_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *ItemDecisionsCountRequestBuilder) ToGetRequestInformation(ctx context.C
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemDecisionsCountRequestBuilder) {
return NewItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
8 changes: 6 additions & 2 deletions accessreviews/item_decisions_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type ItemDecisionsRequestBuilderPostRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewDecisionIdString provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
func (m *ItemDecisionsRequestBuilder) ByAccessReviewDecisionIdString(accessReviewDecisionId string)(*ItemDecisionsAccessReviewDecisionItemRequestBuilder) {
// ByAccessReviewDecisionId provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
func (m *ItemDecisionsRequestBuilder) ByAccessReviewDecisionId(accessReviewDecisionId string)(*ItemDecisionsAccessReviewDecisionItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
urlTplParams[idx] = item
Expand Down Expand Up @@ -148,3 +148,7 @@ func (m *ItemDecisionsRequestBuilder) ToPostRequestInformation(ctx context.Conte
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemDecisionsRequestBuilder) {
return NewItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,7 @@ func (m *ItemInstancesAccessReviewItemRequestBuilder) ToPatchRequestInformation(
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesAccessReviewItemRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesAccessReviewItemRequestBuilder) {
return NewItemInstancesAccessReviewItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
4 changes: 4 additions & 0 deletions accessreviews/item_instances_count_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *ItemInstancesCountRequestBuilder) ToGetRequestInformation(ctx context.C
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesCountRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesCountRequestBuilder) {
return NewItemInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ func (m *ItemInstancesItemApplyDecisionsRequestBuilder) ToPostRequestInformation
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemApplyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemApplyDecisionsRequestBuilder) {
return NewItemInstancesItemApplyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ func (m *ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) ToPat
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) {
return NewItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *ItemInstancesItemDecisionsCountRequestBuilder) ToGetRequestInformation(
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemDecisionsCountRequestBuilder) {
return NewItemInstancesItemDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type ItemInstancesItemDecisionsRequestBuilderPostRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewDecisionIdString provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
func (m *ItemInstancesItemDecisionsRequestBuilder) ByAccessReviewDecisionIdString(accessReviewDecisionId string)(*ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) {
// ByAccessReviewDecisionId provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
func (m *ItemInstancesItemDecisionsRequestBuilder) ByAccessReviewDecisionId(accessReviewDecisionId string)(*ItemInstancesItemDecisionsAccessReviewDecisionItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
urlTplParams[idx] = item
Expand Down Expand Up @@ -148,3 +148,7 @@ func (m *ItemInstancesItemDecisionsRequestBuilder) ToPostRequestInformation(ctx
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemDecisionsRequestBuilder) {
return NewItemInstancesItemDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ func (m *ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) ToP
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) {
return NewItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *ItemInstancesItemMyDecisionsCountRequestBuilder) ToGetRequestInformatio
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemMyDecisionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemMyDecisionsCountRequestBuilder) {
return NewItemInstancesItemMyDecisionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type ItemInstancesItemMyDecisionsRequestBuilderPostRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewDecisionIdString provides operations to manage the myDecisions property of the microsoft.graph.accessReview entity.
func (m *ItemInstancesItemMyDecisionsRequestBuilder) ByAccessReviewDecisionIdString(accessReviewDecisionId string)(*ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) {
// ByAccessReviewDecisionId provides operations to manage the myDecisions property of the microsoft.graph.accessReview entity.
func (m *ItemInstancesItemMyDecisionsRequestBuilder) ByAccessReviewDecisionId(accessReviewDecisionId string)(*ItemInstancesItemMyDecisionsAccessReviewDecisionItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
urlTplParams[idx] = item
Expand Down Expand Up @@ -148,3 +148,7 @@ func (m *ItemInstancesItemMyDecisionsRequestBuilder) ToPostRequestInformation(ct
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemMyDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemMyDecisionsRequestBuilder) {
return NewItemInstancesItemMyDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ func (m *ItemInstancesItemResetDecisionsRequestBuilder) ToPostRequestInformation
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemResetDecisionsRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemResetDecisionsRequestBuilder) {
return NewItemInstancesItemResetDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,7 @@ func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) ToPat
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) {
return NewItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ func (m *ItemInstancesItemReviewersCountRequestBuilder) ToGetRequestInformation(
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemReviewersCountRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemReviewersCountRequestBuilder) {
return NewItemInstancesItemReviewersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
12 changes: 8 additions & 4 deletions accessreviews/item_instances_item_reviewers_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ type ItemInstancesItemReviewersRequestBuilderPostRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewReviewerIdString provides operations to manage the reviewers property of the microsoft.graph.accessReview entity.
func (m *ItemInstancesItemReviewersRequestBuilder) ByAccessReviewReviewerIdString(accessReviewReviewerId string)(*ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) {
// ByAccessReviewReviewerId provides operations to manage the reviewers property of the microsoft.graph.accessReview entity.
func (m *ItemInstancesItemReviewersRequestBuilder) ByAccessReviewReviewerId(accessReviewReviewerId string)(*ItemInstancesItemReviewersAccessReviewReviewerItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
urlTplParams[idx] = item
Expand Down Expand Up @@ -96,7 +96,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) Get(ctx context.Context, requ
}
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerCollectionResponseable), nil
}
// Post in the Azure AD access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that is not yet completed, and only for an access review where the reviewers are explicitly specified. This operation is not permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
// Post in the Azure AD access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/accessreview-addreviewer?view=graph-rest-1.0
Expand Down Expand Up @@ -134,7 +134,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) ToGetRequestInformation(ctx c
}
return requestInfo, nil
}
// ToPostRequestInformation in the Azure AD access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that is not yet completed, and only for an access review where the reviewers are explicitly specified. This operation is not permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
// ToPostRequestInformation in the Azure AD access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
func (m *ItemInstancesItemReviewersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewReviewerable, requestConfiguration *ItemInstancesItemReviewersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand All @@ -151,3 +151,7 @@ func (m *ItemInstancesItemReviewersRequestBuilder) ToPostRequestInformation(ctx
}
return requestInfo, nil
}
// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
func (m *ItemInstancesItemReviewersRequestBuilder) WithUrl(rawUrl string)(*ItemInstancesItemReviewersRequestBuilder) {
return NewItemInstancesItemReviewersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Loading

0 comments on commit 90577c5

Please sign in to comment.